﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using WcfTicketsLibrary;

namespace serviceHost
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("WCF Host");
            using (ServiceHost serviceHost = new ServiceHost(typeof(AllTheServices)))
            {
                serviceHost.Open();
                Console.WriteLine("Show service is ready");
                Console.ReadKey();
                serviceHost.Close();
            }
        }
    }
}
